package com.fxz.distributedlimiter;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import org.springframework.stereotype.Service;

/**
 * @author fxz
 */
@Service
public class LimiterService {

    @SentinelResource(value = "LimiterService.process",blockHandler = "handleException",blockHandlerClass = {ExceptionUtil.class} )
    public String process() {
        return "process";
    }

}
